(:
	add anchors to a display file that doesn't have any
 :)

import module namespace
    jj = "http://kumquat.emse.fr/utilitaires"
    at "jjutils.xq" ;
<display>{
let $t := $arguments[1]
let $vals := fn:tokenize($arguments[2],",")
for $it at $p in doc($arguments[1])/display/item
return
<item>{
  for $in in $it/info[fn:not(@name = $vals)]
  return
        $in
}</item>
}</display>